package com.scs.application.modules.adm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 耗材准入汇总单明细
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "耗材准入汇总单明细")
@TableName("adm_matr_audit_item")
public class MatrAuditItem extends DataEntity {


    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "adm_matr_audit.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String auditId;

    @EntityFieldAnnotation(
            text = "adm_matr_apply.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String applyId;
    @EntityFieldAnnotation(
            text = "adm_matr_apply_item.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String applyItemId;

    //准入申请科室ID
    @TableField(exist = false)
    private String applyDeptId;

    //准入申请科室名称
    @TableField(exist = false)
    private String applyDeptName;

    //准入申请业务单号
    @TableField(exist = false)
    private String applyBusKey;
    //准入申请人
    @TableField(exist = false)
    private String applyBusUser;
    //准入业务日期
    @TableField(exist = false)
    private Date applyBusDate;

    //准入申请备注
    @TableField(exist = false)
    private String applyRemark;

    // creator ,在父类中处理


    // modifier ,在父类中处理


    // gmt_modified ,在父类中处理

}
